<template>
	<uni-popup ref="popup" type="bottom" :mask-click="false" :is-mask-click="false" border-radius="40rpx 40rpx 0 0">
		<view class="inner-box">
			<view class="title-box">
				<uni-icons class="icon-close" @tap="close" type="closeempty" size="30"></uni-icons>
				<view class="title">
					公司地址
				</view>
			</view>
			<view class="company-item" v-for="(item,index) in 3" :key="index">
				<view class="address">
					山西省大同市云州区搜的想12号
					利息大厦587室
				</view>
				<view class="btn">
					导航
				</view>
			</view>
		</view>
	</uni-popup>
</template>

<script>
	import {
		mapState,
		mapGetters
	} from 'vuex';
	export default {
		data() {
			return {}
		},
		methods: {
			close() {
				this.$refs.popup.close()
			},
			open() {
				this.$refs.popup.open()
			}
		}
	}
</script>

<style lang="scss" scoped>
	.inner-box {
		background: #FFFFFF;
		padding: 0 39rpx;
		border-radius: 40rpx 40rpx 0rpx 0rpx;
		overflow: hidden;

		.title-box {
			padding-top: 49rpx;
			display: flex;
			align-items: center;
			margin-bottom: 51rpx;

			.icon-close {}

			.title {
				margin-left: 211rpx;
				font-weight: 800;
				font-size: 40rpx;
				color: #111111;
			}
		}

		.company-item {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 45rpx;

			.address {
				font-weight: 500;
				font-size: 28rpx;
				color: #333333;
			}

			.btn {
				width: 95rpx;
				height: 50rpx;
				background: #3A92FF;
				border-radius: 10rpx;
				font-weight: 500;
				font-size: 28rpx;
				color: #FFFFFF;
				text-align: center;
				line-height: 50rpx;
				margin-left: 159rpx;
			}
		}

	}
</style>